package com.wan37.protobuf.constant;

public class PtoNum {

    private PtoNum() {

    }

    // 首先, 定义各种协议类对应的ptoNum
    // internal
    /**
     * 服务器间传输协议的ptoNum
     */
    public static final int GTRANSFER = 901;
    /**
     * 服务器连接问候协议的ptoNum
     */
    public static final int GREET = 902;

    /**
     * 客户端到网关的协议
     */
    public static final int GAMETOGATE = 903;

    // auth

    /**
     * 用户注册协议的ptoNum
     */
    public static final int CREGISTER = 1001;

    /**
     * 用户登录协议的ptoNum
     */
    public static final int CLOGIN = 1002;
    /**
     * 服务器对于认证服务的应答协议的ptoNum
     */
    public static final int SRESPONSE = 1003;

    // game

    /**
     * 客户端游戏的ptoNum
     */
    public static final int CGAMEMSG = 2001;
    /**
     * 服务器收到游戏消息的应答协议的ptoNum
     */
    public static final int GAMESRESPONSE = 2002;
    /**
     * 客户端移动的proNum
     */
    public static final int CGAMEMOVE = 2003;
    /**
     * 客户端请求显示当前场景角色proNum
     */
    public static final int CGAMEAOI = 2004;
    /**
     * 服务器收到客户端请求显示当前场景角色的应答协议的ptoNum
     */
    public static final int SGAMEAOIRESPONSE = 2005;
    /**
     * 客户端请求聊天的proNum
     */
    public static final int CGAMECHATMSG = 2006;
    /**
     * 客户端请求攻击
     */
    public static final int CGAMEATTACKMSG = 2007;
    /**
     * 攻击完毕返回的广播协议
     */
    public static final int SGAMEATTACKBROADCAST = 2008;
    /**
     * 请求角色技能协议
     */
    public static final int CGAMESKILLMSG = 2009;
    /**
     * 返回请求角色技能协议
     */
    public static final int SGAMESKILLRESPONSE = 2010;
    /**
     * 请求用户角色协议
     */
    public static final int CGAMEROLEMSG = 2011;
    /**
     * 返回用户角色协议
     */
    public static final int SGAMEROLERESPONSE = 2012;
    /**
     * 服务端收到攻击消息的应答协议
     */
    public static final int SGAMEATTACKRESPONSE = 2013;
    /**
     * 服务端广播返回场景实体情况
     */
    public static final int AOIBROADCASTRESPONSE = 2014;
    /**
     * 客户端装备消息
     */
    public static final int CGAMEWEAPONRYMSG = 2015;

    /**
     * 服务端返回装备消息
     */
    public static final int SWEAPONRYRESPONSE = 2016;

    /**
     * 客户端物品消息
     */
    public static final int CGAMEITEMMSG = 2017;

    /**
     * 服务端返回物品消息
     */
    public static final int SITEMRESPONSE = 2018;

    /**
     * 登入成功服务端初始化消息
     */
    public static final int CGAMEUSERLOGININITMSG = 2019;

    /**
     * 用户登出消息
     */
    public static final int GGAMEUSERLOGOUTMSG = 2020;

    /**
     * 客户端请求boss副本协议
     */
    public static final int CGAMEBOSSSCENEMSG = 2021;

    /**
     * 服务端响应boss副本协议
     */
    public static final int SBOSSSCENEWEAPONRY = 2022;

    /**
     * 商店客户端请求消息
     */
    public static final int CGAMESHOPMEG = 2023;

    /**
     * 商店服务端响应消息
     */
    public static final int SSHOPRESPONSE = 2024;

    /**
     * 服务端广播装备消息
     */
    public static final int SWEAPONRYBROADCASTRESPONSE = 2025;

    /**
     * 用户情况有更新。
     */
    public static final int AOIROLEBROADCASTRESPONSE = 2026;

    /**
     * 广播技能释放完毕后消息返回
     */
    public static final int ATTACKBROADCASTRESPONSE = 2027;

    /**
     * 触发自动攻击消息
     */
    public static final int AUTOFIGHTINGMSG = 2028;

    /**
     * 私聊
     */
    public static final int ONETOONECHAT = 2029;

    /**
     * 回复消息
     */
    public static final int CHATRESPONSE = 2030;

    /**
     * 全服聊天消息
     */
    public static final int WORLDPLAYERCHAT = 2031;

    /**
     * 全服广播消息
     */
    public static final int WORlDPLAYERCHATBROADCAST = 2032;
    /**
     * 请求与对象的聊天记录
     */
    public static final int ONETOONECHATOLD = 2033;
    /**
     * 请求世界的聊天记录
     */
    public static final int WORLDPLAYERCHATOLD = 2034;

    /**
     * 装备返回信息消息
     */
    public static final int USERIDTOWEAPONRY = 2035;
    /**
     * 广播使用物品使用消息
     */
    public static final int USEITEMBROADCASTRESPONSE = 2036;

    public static final int USERIDTOITEM = 2037;

    public static final int SKILLRESPONSEBROADCAST = 2038;

    public static final int CGAMECREATEROLEMSG = 2039;
    /**
     * 邮箱请求消息
     */
    public static final int CGAMEWORLDPLAYEREMAILMSG = 2040;
    /**
     * 邮箱回复消息
     */
    public static final int EMAILRESPONSE = 2041;

    /**
     * 给特定用户发送邮件消息
     */
    public static final int EMAILBROADCAST = 2042;

    /**
     * PVP战斗消息
     */
    public static final int CGAMEPVPSCENEMSG = 2043;

    /**
     * 队伍管理消息
     */
    public static final int TEAMMSG = 2044;
    /**
     * 队伍管理处理返回
     */
    public static final int TEAMRESPONSE = 2045;
    /**
     * 交易请求消息
     */
    public static final int TRADINGMSG = 2046;
    /**
     * 交易处理结果返回消息
     */
    public static final int TRADINGRESPONSE = 2047;

    public static final int USER = 2048;

    public static final int GUILDMSG = 2049;

    public static final int GUILDRESPONSE = 2050;

    public static final int TRADINGSHOPMSG = 2051;

    public static final int TRADINGSHOPRESPONSE = 2052;

    public static final int TASKMSG = 2053;

    public static final int TASKRESPONSE = 2054;


    //heartbeat
    /**
     * 心跳
     */
    public static final int HEART = 3001;
}
